/****************************************************************
The class Vent is an abstract base class.
This class define common interface of the vents of the NCUC model.
Author: Chun-Ming Wang
Date of Modification: 22/10/2007 (dd/mm/yyyy)
After modification
This class is modified as the class Vent. (Originally, the class defined in
old version is the class Output.
****************************************************************/
#pragma once
#ifndef _Vent
#define _Vent
#include "Misc.h"
class Vent
{
public:
	// calculate quantities of the output according to a Sill
	double output(const double &sill) const;
	// virtual constructor
	virtual Vent* clone() const = 0;
protected:
	// calculate the output according to the sill outside (in fact, the NCU)
	virtual double calc(const double &SillNCU) const = 0;
};
#endif